using System;
using System.Data.SqlTypes;
using Oplaco.Core.BusinessLogicLayer;

namespace Oplaco.Core.Configuration
{
    public static class DefaultValues
    {
        public static string[] AllowedFileUploadExtensions = new string[] { ".png", ".jpeg", ".jpg", ".gif" };

        public const string AdministratorRole = "Administrators";

        public const int CategoryIdMinValue = 0;
        public const string CategoryIdMinValueString = "0";

        public const int IdNullValue = 0;

        public const int MaxFullImageSize = 450;
        
        public const int FixedMediumImageHeight = 102;
        public const int FixedMediumImageWidth = 136;

        public const int FixedSmallImageHeight = 42;
        public const int FixedSmallImageWidth = 56;

        public const bool StoreSettingsInDatabase = false;

        public const int MaximumPhotosPerAd = 5;
        public const bool StorePhonesInDatabase = true;
        public const string ServerPhotoUploadDirectory = "Upload";
        
        
        public const bool AdActivationRequired = false;
                
        public const bool AllowUsersToEditAds = false;
        public const bool AllowUsersToDeleteAdsInDB = true;
        public const int MaxAdRunningDays = 365;
        public const int MaxAdPrice = 10000000;
        public const AdminNotificationSetting AdminNotification = AdminNotificationSetting.None;
        
        
        public const string SiteName = "Oplaco Open Source Example site";
        public const string SiteEmailAddress = "info@os.oplaco.com";

        public const bool SitePreferUserCulture = false; //set this to false, if you want the system to work with the SiteLanguage, if set to true, the website uses localization
        public const string SiteLanguage = "us-US"; //only works when SitePreferUserCulture is set to false
        public const string AdTypeCultureInfoPath = "~/App_Data/AdTypes.xml";
    }


}
